package com.xiaoke.controller;


import com.xiaoke.domain.ResponseResult;
import com.xiaoke.service.TagService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;


/**
 * 标签表(Tag)表控制层
 *
 * @author xiaoke
 * @since 2023-03-16 23:05:42
 */
@RestController
@RequestMapping("/tag")
public class TagController {
    /**
     * 服务对象
     */
    @Resource
    private TagService tagService;

    /**
     * 获取标签列表
     */
    @GetMapping("/getTagList")
    public ResponseResult getTagList() {
        return  tagService.getTagList();
    }






}

